package com.taxshare.seller.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.seller.constant.table.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName: SellerSplitTemplateEntity
 * @Description:
 * @author: Hai
 * @date: 2021/7/1 16:47
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_SELLER_SPLIT_TEMPLATE)
@ApiModel(description = "发票拆分规则模板")
public class SellerSplitTemplateEntity extends BaseEntity implements Serializable {

    @TableId("uuid")
    @ApiModelProperty("主键")
    private String uuid;

    @ApiModelProperty("模板名称")
    @TableField("template_name")
    private String templateName;

    @ApiModelProperty("金额 0-含税 1-未税")
    @TableField("amount")
    private String amount;

    @ApiModelProperty("单价数量  0-按单价 1-按数量")
    @TableField("price_num")
    private String priceNum;

    @ApiModelProperty("专票限额")
    @TableField("zp_quota")
    private String zpQuota;

    @ApiModelProperty("普票限额")
    @TableField("pp_quota")
    private String ppQuota;

    @ApiModelProperty("电票限额")
    @TableField("dp_quota")
    private String dpQuota;

    @ApiModelProperty("创建时间")
    @TableField("create_time_str")
    private String createTimeStr;

    @ApiModelProperty("修改时间")
    @TableField("update_time_str")
    private String updateTimeStr;

    @ApiModelProperty("创建用户名字")
    @TableField("create_user_name")
    private String createUserName;
}
